fix zoom in wrong location bug