Center diagram on double-click