Custom point not accurate when using stay on screen

If you want the red square to stay in position, then look at using the Sticker extension. Once added to your game, add the sticker behaviour to the red square, and then in the events stick it to the space ship sprite once and the extension does the rest of the work.

Here’s an example of how it works.