fix a bug that dynamic loaded image's order is reversed