Issue #5968: refactor load event of texture, sprite frame and sprite etc

refactor load event of texture, sprite frame and sprite etc