Fixed error in ObjectChooser when selecting no object.