fixed issue with gameobject

needed a separate gameobject for the ui to disable the palyer
gameobject, this commit fixes this