This is because render info's current frame is either happens in conversion stage (when using Render Layers node) or in sequencer's rendering (which you don't usually have). Now made it so when only compositor is used, proper current frame is being set to re->i stats structure.