Fixed bug with hats on invis command