Rectangular windows are preserved in gradient backtransforms