Quick fix for the overlay/messagebox code in clean windows.
Merge pull request #768 from Amrykid/fix-overlay-clean

Quick fix for the overlay/messagebox code in clean windows.