Fixed the player boundary issue. The player was flying off the screen sometimes.