Fixing drawing issues for y axis.