I didn't develop FFXIV, but if I had to guess, I'd say the same issue causes both crashes; fixing it should fix both problems. The game seems to crash whenever anything steals focus.