Fixed frame numbers off-by-one error