Fixed a bug where indexType was invalid during submitRenderBlock