Fix cursor often jumping to center when putting target while moving cursor
It was about this time this HORRIBLY ANNOYING bug got fixed. Oh boy!
Lua scripts for engine testing. These scripts are the same as other Lua scripts
in Hedgewars, but you ought to call `EndLuaTest(TEST_SUCCESSFUL)` or
`EndLuaTest(TEST_FAILED)` when the test is completed.