fixed an issue with _onResize method not exposed