Syncing bhutchins fix that wasn't committed to github

Quoth bhutchins: Fixed positioning logic of rich tooltips after recent changes.