Prevent horizontal overflow.