Fix window response to zoom changes