fix flood on roads: adjust clip extents used for the  raster #1030

We should probably hive this next section into its own function so make its intent clearer and to enable it to be tested indeprentendly of the rest of the IF.