Bug 1110040 - [Text Selection] bubble broken when selection area is too narrow

https://bugzilla.mozilla.org/show_bug.cgi?id=1110040