Handle last frame cases