Fix y-axis bug