fix backgrounding to work with older versions of pil (hopefully won't break it for new pillow)