- Fixed the issue with detecting paragraph when the cursor was on beginning or the end of the paragraph