Wyatt Johnston scored the tiebreaking goal in his 200th NHL game as the Dallas Stars beat the Buffalo Sabres 4-2.