Constrain tooltips to be displayed on the screen.

@jedp and @jrgm - this is a hotfix to the current stage for #3496. An ephemeral instance exists to test, tooltips-off-screen-stage.personatest.org