Fix null images crash caused by corrupted block textures. #8