Fix size being hidden after removing attributes.