Apple has narrowly avoided an X-rated design mishap