add missing call to trigger onResize event in the StateManager