core: fix crashing vec methods due to non-working moved self.