Progress handler sends the index of the frame that was loaded, not the next frame