I had similar issues on TW. Did a quick Google search and found some stuff about dirty sensor. I too thought it sounded crazy, but gave it a try. When I disassembled my back-plate it was easy to see the black haze on the backside of the glass. A q-tip, alcohol, and all fixed. It worked very reliably (like new) on TW, so I decided to try CM11 again. Sure enough, the sensor worked fine with CM11. I posted over on that thread as many folks had been commenting of this problem and everyone assumed it was something broken in CM11.
Read the next handful of posts in the CM11 thread. At first a few called BS on the post, then several folks started trying it and all commented that it worked.
But again, thanks for the fanboy comment. Very constructive addition to this dialogue.