Fix the boundary of x domain when zooming - #505