Fix relative positioned tooltips. Fixes #319