character doesnt go out of screen