Fixed bug in some GUI elements.
They didn't have a reference to de director yet.