automatically generates an EventSystem if there is not one present