Ensure we don't get an overflow on the x axis