Implemented listener pattern to notify the activate/deactiva controllers
fixed compile error in renderer2D