Fixed issue with rotated labels