improved method for setting tintColor when nil is passed to setTintColor: