Fixed scaling glitch