Adding boundaries on the player movement