[Bug] 'Undo' not working correctly
### Bug report: History or cmd-z affected
#### Expected behavior: When using cmd-z it should go back 1 step in history when moving and deselecting objects.



#### Actual behavior: Once a box is moved and deselected few times to go back (cmd-z) takes many times, way more than the steps I've previously taken. This also affects cmd-shift-z to move forward in history.
(Please include a screenshot or screen recording if possible)
Unzip, it's a video
[paddy bug.zip](https://github.com/DWilliames/paddy-sketch-plugin/files/1763435/paddy.bug.zip)




#### Steps to reproduce: Move a box > deselect > wait few seconds > tap cmd-z > nothing happens
(Please attach a Sketch file if possible)
It will happen on a fresh file of sketch 48.2


