Check if children of Map component are valid components and only map children if there is a Google Map instance.
This fixes an issue when you remove children (e.g a Marker) from the Map