moved player ui into rendercomponent