If you use the hammer and press a direction other than the direction you're facing, at the same time, the hammer ground pound effect will appear in the direction you were originally facing however the hammer swing animation will be correctly in the direction you're facing.
Face right
Hammer & press Left simultaneously
Sparkle/cloudpuff appears to your right.
Hammer swings to your left
Pretty minor issue.