Keep the image adapter from immediately crashing on startup