Canvas dragging and zooming fixed for firefox.