Geany doesn't autosave, and it keeps the scroll position when saving, it sounds likely that this is a bug with a plugin you are using, possibly the one doing the auto-saving. You can test by launching Geany with `geany -p` to disable any plugins, and then try it again.