Bug fixed in y-scaling