Dont crash when invalid image (tested with Nekogade distortion awareness)