Bugfixes in player enter/exit hook system.