Fixed EventFragment crash