Fix last frame range