src: stop player from leaving screen