Fix EventManager error in VS and a warning.