Fix ENTER detection