Fix after-resume behavior