ok fixed the issue hopefully with removing the _setProps in the resize function.