To reproduce add:
gui.scale = "1.8"
into your user.cfg, then open 0A.D., go to 'Learn to play' -> 'Structure Tree' and hold the mouse over an icon on the right-hand side of the screen. The tooltip is not repositioning at all. (this is also true during actual gameplay itself)