Bugfix: Error #3694 is thrown if a Texture is created when context is lost

Texture.empty and Texture.fromAtfData methods threw "Error #3694: The object was disposed by an earlier call of dispose() on it" if context was lost.