Text Selection Handlers not updated with the correct position