oops - can only bringToFront when a layer is acutally on the map - so check debug layer is enabled