Zoom follows mouse properly when window is resized.

Fixes #144