Actually, the problem is not in the person you address, it is in the one who says "You have an attitude problem."
We often hear thing such as, "You need to pick up that mess." "You need to stop doing that." WRONG, More accurate to say , "I need you to...etc"