fixed bug when hiding Y axis, redraw is not always successfully performed