Prevents infinite loop

Prevents infinite loop if a camera takes a picture of an atom with null in either it's overlays or underlays.

Kudos to @GinjaNinja32 for helping to identify this.