Fix for panning ends active connector

Fix for panning ends active connector
Fix for panning ends active connector

Fix for panning ends active connector
Merge pull request #3180 from Benglin/Revit2015

Cross merging master changes into Revit 2015