White lines saved Hamilton, says Mercedes boss