Fix incorrect preview when selecting image map the first time in session
Lua scripts for engine testing. These scripts are the same as other Lua scriptsin Hedgewars, but you ought to call `EndLuaTest(TEST_SUCCESSFUL)` or`EndLuaTest(TEST_FAILED)` when the test is completed.