Remove unnecessary call to refreshShadowWithAnimationDuration (shadow is disabled in this branch)