fix crash when resizing ScrollImage in OnResize event handler

...text loss (common scenario with DX11 hardware)