fix bounds for rasters with effects

fixes watson #3851724