[compositor] Make sure all frame events are sent on display-off