Fixed #2489: added a checking to addEventListener of Texture2D, Sprite etc, let them dispatch 'load' event in next frame when texture is loaded.

Added a checking to addEventListener of Texture2D, Sprite etc, let them dispatch 'load' event in next frame when texture is loaded.