Change setMap in Layer/TMS and Layer/Zoomify to use layer.maxExtent