Fix for MAGN-721 Geometry should not be selected while window selecting.

- Modified StateMachine to start and end visualization manager.

I have it checked by Ritesh and its working.

During the testing, the following non-related bug were found:
1. MAGN-728
2. MAGN-729
3. MAGN-730