Improved rdmenu center of window functionality