Well, after some hours playing, I've come to realize that the game is much less likely to crash if you always push Q first then A.

Unfortunately, I still can't find a way to solve the problem of the automap crash when in higher resolutions, but at least this helps.