Migrated generic plugin to new rendertarget management