Refactor: Moved logics for releasing GL textures into ResourceSystem