The First Person Controller in Starter Assets occasionally shoots upward when touching meshcollider

This has been a problem in the game I am making. There are a number of doorways, and I find that if my character goes through the doorways touching right or left edges of them, on occasion the character will move upward a lot, and furthermore, usually get stuck. This only happens a minority of the times I try to go through but those few it does make the game completely unplayable from then on, unless I go into scene view and dislodge the player character manually. Maybe it's worth mentioning that there are several mesh colliders here, as the building is made of several child objects so each of those needed its own mesh collider.