It seems that if you teleport to a position (Using command blocks), your position updates to EXACTLY negative z.
To reproduce:
1. make a command block
2. teleport. While activating, hold shift.
3. There you are, facing -Z
Environment
Windows 8, Java 7
As a quick bit of info to add on, it is if your mouse is COMPLETELY still. Moving it does not cause a problem.