fix loading bar display bug when sprite frame is trimmed

there is a display bug when sprite frame texture rect size not equal to
the origion size.