Constrain tooltips to be displayed on the screen.

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