fix zoom in and out display issue