Prevent the x-axis form exceeding bounds of its parent.