Restoring line position must be done in (anything-window).