Small fixes for the WMS preview