You should not apply Hair Powder on freshly-washed hair. You should use the product one or two days after shampoo or with some of the product already in the hair for proper adhesion.
However, like any colored cosmetic product, you should expect some smudging. Avoid such stains by shaking off excess powder from your hair.