Made scaling smooth.