Limiting how far to the left and up the bubble control can go

Works much better when the editor is edge-to-edge on the page and
selection is in the leftmost part of the string. With these changes the
bubble will still be visible, although its tip is misplaced.