Make sure events are bound if an element is provided in the constructor