Handle overflow-x that may occur in some cases.