map fix

Fix wrong padding breaking local map for cells where the bounds center is far from the origin