[composer] Correctly handle shape frame and backgrounds from pre 2.0 projects (fix #8597)
Follow up 6b973e1c3e