Fixed some issues for Y axis