The England striker was moved into the middle of the pitch for the clash with Stoke City at Britannia Stadium and Ferguson was full of praise for the way he performed in the 2-0 victory.
"He was brilliant. I was thinking he possibly needed a different role in terms of getting his confidence back. He has been under a bit of criticism, not serious, but there were some doubters nonetheless," he told Sky Sports.
"He's a fantastic player and our job is to get that confidence and form back. I thought a spell in midfield would do him the world of good and it worked for us."