Tooltip misplacement fixes

Fixes #14756.
Successor to #14763.

Fixed [jsbin](http://jsbin.com/koqilu/71/edit)