Implementing a screen-bounding system for the player