fixed #65: better tooltip positioning