Attempted to fix framerate issue when vsync is off