fixed bug where a children of a image object was checked