sprite and screen scaling fixes