fixed the issue where the shape or photo properties panel didn't display.