fix issue: frame misplace when zooming