Better MUI compatibility for Window class: