Fix import in inpainting viewer plugin