Fix crash with setLogo(NULL)