Modified the item resize functionality to keep styles applied to the cloning class from breaking the resizing.