Fixed unit selection crash