Fixes entering item with enter key messing up CSS