Fix #6832 tooltip positioning