Enter event was not being triggered in empty-code slides