when zooming with the mouse wheel, the image zooms correctly using the mouse cursor position as the center. when using a pinch gesture, on both touchpad and touchscreen, the zoom always happen from the top-left corner of the image