fixed game loop at 25 fps