Fix apply-message to return game-env