Update GameEngine.java

fixed movement bug