Fixed bugs in PlayerPassHandler and GameEngine