Store last window position (unless minimized).