Fixed bug: when enemy ate last apple, level never ends.