Redesign BWIGameView to avoid circular reference of shared_ptr.