Fix order of line wrapping menu items

Addresses a bug reported by Gracjan Polak.