Don't fail if setCursorEnd doesn't exist