fix crash when hovering the mouse over invalid wall types
Merge