It could cause an issue if there isn't enough foliage in the enclosure. There should ideally be less light towards the bottom of the enclosure so the chameleon can choose how much light to be exposed to. Also, what time do your lights go out at night in the aquarium? Do you use LED night lights in it? There should be a dark room at night for ideal sleeping conditions. (You may want to use a blackout curtain and pull it around the enclosures at night.)