Fixed Name assignment

Forgot to use std::to_string() when creating the Name component, hence
the weird shifted characters when it's displayed.