Enhancing Continual Learning with Global Prototypes: Counteracting Negative Representation Drift