Fixed: main scene func was not called.