Fixed a bug on the bubble positioning when the whole paragraph was selected.