Moves shrinkWidth to BaseElement from util