event on leaving a level
needed for allowing maps themselves to listen to events