Fixed player movement bug
Fixed bugs in game logic