Bug fix in renderRoI when the plugin is render unsafe