How can I keep the relative position of the stimuli when switching to a different screen size?

Use height units to maintain aspect ratios and relative distances.

Use norm units to fill the screen or keep things in the corners from getting hidden.