fix raty component image path refer to wrong path when packing