Fixes issue with menu `selected` state

#12