Only increment the frame number once