Frameless dialog position/size fixes

Fixed frameless dialog size and position on main window resize and move