Changes order of events processing for new layouting.