Stash frame id of current frame before stashing frame id for previous frame