improve map offscreen dimension-change detection