fix bug when autocalculation without opening character frame first