Quick fix to solve problems with small windows
Scaled sprites are now rendered correctly