Attempted fix for issue #110 (dialogs mapping below other windows).