Using the correct parent node

When we have a Google base layer, the parent node of the base layer's div
will be a different one.
Merge pull request #903 from ahocevar/903

Google Maps and WMS layer Backbuffer error. r=@mosesonline