fix resize bug under android