This happens when you initiate combat from real time by directly attacking. At this point, the turn based combat has not started yet and no MP/AP are being tracked, so I'm not sure I can fix this issue :/ It only affects the first hit though so shouldn't be that big of a deal. Workaround would be to manually initiate combat before attacking.