add a photo frame
Fixed crashing on Windows