A goal from Aberdeen defender Scott McKenna gives his side the victory at Dens Park in Derek McInnes' first match in charge since deciding to stay at the club.