Yep. You get hit, regardless of where you're standing, you lose the point.
I'll never forget the time I banged an overhead too deep and clipped my opponent (who was two feet behind the baseline and desparately trying to get out of the way) on the ankle. Point for us and it gave us the break we needed to go on and win the set.
Thankfully, she took it well, even laughing (I suppose my being 5+ months pregnant at the time got me some sympathy...hehe).