BUG: fix flickery behavior at the edges of the zoom limit