Fixed bug that sprite sheet texture is not flagged as loaded after sprite sheet is loaded.