fix EditorSelection.getCursor as it returns null

since yui-cursor was changed to be a class, so the selector should be changed