fix keep zoom scale on window resize