Workaround for raster 2.2-5 bug.