Hayden Hackney scored the opening goal for Middlesbrough in their Championship match against West Brom.