Fixed a few windowing issues when using global scale factors.