[fix] proper margin for right/bottom tooltips