fixed a scaling bug that broke the game