Fix position of rename popovers and context menus and reveal selected files.
Closes #5 (closed) and https://bugzilla.gnome.org/show_bug.cgi?id=102666.
Inspired by patchset by Daniel Boles and respective reviews at https://bugzilla.gnome.org/show_bug.cgi?id=773154