Fix camera selection in editor

Fixes #1149