Zenn, the box around the healthbar is fine. It should not show up when you play the game.
For the player not taking damage, can you double check from the Inspector whether your player character is losing health when taking damage? It may be that the health is dropping but the health bar doesn’t update.