Fix timing issues with variable FPS gifs