fixed bug in rendering menu rows where state was longer than 5 characters