Also don't try to automatically adjust zoom. Leave that to the layer control for now and wait for a setBaseLayer / switchLayer or something instead.
There seems to be a timing bug though.