I personally think that's intentional. Probably, the developers thought it would be too easy to take down your ground-based enemies in dragon form. You might also notice that in general, flying enemies won't attack you while you're in human form.