Does the gluon spin contribute in a gauge-invariant way to nucleon spin?