semi fix gameloop fps