I never felt comfortable to have the thumb behind the neck and naturally end up with the thumb on top. For me, this is the best position as I feel absolutely no pain and I can play hours with straining myself.
My understanding of the finger behind the neck "rule" is to help you get your finger as perpendicular to the strings as possible.