Fixing disableTitleShadow condition was the wrong way around