why don't you do something like that?

```objj
cursorStack.push(self);
currentCursor = self;
```