Fix for color switching bug. Players can now move and attack at the same time