Fix #167: Mouse event on SVG yields NaN mouse coordinates