Prevent crash if a connector is being created while entering animation mode Related to #1419
Prevent crash if a connector is being created while entering animation mode
Related to #1419

Hopsan/hopsan,Hopsan/hopsan,Hopsan/hopsan,Hopsan/hopsan,Hopsan/hopsan,Hopsan/hopsan