Fixed scaling clipping bug