The recommended precaution is that a child should not be made to sit in a way that his front or back faces qibla when he is emptying his bowels and/or bladder.