Strip Slash Problem On 404's

I'm seeing this strip slash problem on pages that don't exist (see screenshot)

I would actually like to change this to an image if it's possible to do so within a child theme (?)