fix the bug when zoom picture