Added the autoResizingMask code to custom label setter.