Fix use of uninitialised member in CCDirector

Found using Valgrind