fix resize factor bug.