Fix incorrect rem value. See #160. Props @dollseb.