Fix NPE in preview panel if selected configured part does not exist any more (can only happen during development).
Authored by: hagru 2017-07-10
Parent: [r238]
Child: [r240]