Better handling of getClipPreferences.