Preventing duplicate calls to viewAttached when views are cached by the composition system.