better framerate limiting