Fixed opening the select barrier UI causing a crash.

Didn't knew that.