crash fix for updating tint before user has valid layer