Kind of silly but may be something that I over thought

Our cats litter box is in our guest bathroom, with the door cracked open enough for our cat to get and out. However, the guest bathroom is about 2 feet away from my sons nursery (which is always kept closed & where he sleeps in at night) My concern (I don’t even know if it should be one) is if the litter box is too close to the baby’s room? Idk if I am making sense.