Joshua overcomes setbacks to record impressive result