Fixes #53 - fitting mode should be kept when window is resized.