Fixed bug where scaling didn't work