Call NotifyPaintedImage on the ImageContainer when we use it to update an ImageClient
Fix compiler warning