Fixing some dialogs centering issue (desktop bug)