fix zoom bug