wms provider: fix WMTS bounding box calculation for crs with inverted axis