Some small fixes in GameEngine class