Cannot modify petri net when in animation mode

* Add this change into the PetriNetMouseHandler