fix crash of scenery window when selecting the first entry of a given type
Merge pull request #411 from qcz/scenery-crash-fix

Fix scenery window crash
Merge remote-tracking branch 'upstream/master' into editor_basics