fix mixing pixels and map units in calculation of update rectangle