Fixed a positioning issue with tooltips