Modals: Fix tooltip x pos calculation.

It now determines the width. This works only for border cases, currently.