[Feature] Better event handling of media query changes.