On the critical angle of a nematic liquid crystal cell