The widget's height isn't fully initialized when calculating the position, so attaching it to the right or left will result in a misplaced tooltip