JBIDE-18302 VPV does not stick on currently selected widget

Fixing # issue for VPE in common case
JBIDE-18302 VPV does not stick on currently selected widget

incorrect working of getUrl() method fixed for Mac