when centering a dialog to it's parent, shift as necessary to stay completely on the parent's screen
when centering a dialog to it's parent, shift as necessary to stay completely on the parent's screen

svn: r3362

mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket,mafagafogigante/racket