Fix getting frame farther back than the current this.history.idx

-1 % 60 === -1, so this would return this.history[-1] if you get the
previous frame when the current frame is at index 0.