Fix an issue where TiShadow just fails to work