Fixed: Crash when selecting a collapsed VM from a hypervisor

Previously, when selecting a collapsed VM from the Hypervisor, the application crashed.
Now it firstly expand the group of the VM and then select the VM.
Merge pull request #1091 from Dogild/OutlineViewSelectedCollapsedItem

Fixed: Crash when selecting a collapsed VM from a hypervisor