Component getting misplaced

i have a bit of a problem wich is that my components are getting misplaced.
I have an image wich is normal placed when it doesn´t have a on click event.
Wich is like the picture below.

however when i add a on click event.
i get this:

this also accours whenever installing an APK file or live testing trough thunkable live.