Enabled pan and zoom but lost dom control of svg elements