Google Earth z-index issue

I am using google earth plugin with vaadin but have met a problem:

When displaying in google chrome, google earth is display on top of every other components.

When displaying in firefox, if I open a window and move it around, only the window’s header is overlayed by google earth.

I have tried setting position + z-index for the container but to no avail. Does anyone know how to fix this?