enforce framerate better