Constrain tooltips to be displayed on the screen.
Fix the failing front end test when run in PhantomJS.
Merge pull request #3512 from mozilla/hotfix-2013.06.05-issue-3496-tooltips-off-screen

Constrain tooltips to be displayed on the screen.