Properly fix crash when blending RAW data.

It was already "fixed" by 78fc8af469a6bf783dda9140b5743b1341551dcb, but not entirely.