If you did rotate the bones and re-exported the FBX with proper settings, and it is still acting up, it may be some other issue. AFAIK vertex groups can also inherit data to form/shape/manipulate a mesh in unwanted ways. Maybe there is something messing up with the setup of the head base.