Fix print of WMS layers