added check if game speed is high enough for 60 Hz vsync to work