fix incorrect popup positioning. hoorah!