Make the UI scale and move correctly when the UI bounds are modified.
Fix bug causing the screen to go blank when resizing the window using scale factors on Windows.