Fixed Firefox issues in svg-panner.