Fixed to handle variable frame rate better