Indeed, it doesn't! I've been splurging on UV protecting glass for my frames and I hope that will make them last longer. Other than that, I try to position the frames close to windows, but not so much that they would receive many hours of direct light. I think there's a goldilock zone there somewhere.
Why not have the solar panels on the back facing the window with the frame facing the interior? Or angling the panels like a chevron in the back?