engine.flash: fix a missing callback argument