Fixed the creation of directional lights in server.