Changed the window frame from drawing itself to the OS native.
Merge branch 'change_window_frame'