Fix bug when removing vertex from bbox and then undoing