Thornton: Rangers' Dorsett 'doing his job'