Fix the firefox crash issue. It is caused by inserting and connecting node from the workflow recording feature.