Camera Rotation for First-Person Controls not correctly

Hey, I think I managed to recreate your problem. After you change the camera rotation order, issue is fixed (uncomment line 74).

https://jsfiddle.net/kxs79b1j/1/