Fixed bug with player movement and level loading