Modified intrinsicContentSize implementation