Modals: Fixed bug where tooltip would get cut off.

Tooltips displayed close to the left svg boundary would be cut off.
The tooltip is now displayed on the right side for nodes that are close to the left svg boundary.