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 #3183 from Benglin/RC0.7.4_master

Cross merging master changes into release branch