Check for null pointer before accessing interactor_ member

The visualizer could have been constructed with
create_interactor=false so the _interactor member is null.
Merge pull request #131 from patmarion/fix-visualizer-null-ptr-dereference

Check for null pointer before accessing interactor_ member