Fix overeagerness to rotate labels. Fixes #335.