Fixed crash on user enter / leave events