Made sure that Scene class actually uses the getName method to execute events