fix some stuff in the gameLoop management