bugfixes for preview popover, popover towards center of screen, navbar overlapping content, and extra phantom buttons