made deletion of mentions work without cursor jumps