Some CSS not loaded in lightbox when AMD is used - any solution known?

By iionly

Background: within iZAP Videos I've added a lightbox to allow for watching videos directly from the activity page. Within the lightbox you can also rate the video if you have the Fivestar plugin installed. This worked fine (CSS of the Fivestar widget loaded) when I hadn't converted the inline JS code in the Fivestar plugin to an AMD module yet. Unfortunately, the CSS of the Fivestar widget is no longer loaded now after the Fivestar plugin is fully AMDed. I've tried to load the CSS both by extending css/elgg (method currently used in the Fivestar plugin) and by using elgg_load_css (together with elgg_register_simplecache_view() as I had done it in Fivestar previously) but it doesn't work neither way.

I know that there's an open issue about basically this problem at github. But I think there hasn't been decided on a solution yet. Is there at least a workaround possible to get it working already now - both on Elgg 1.X and 2.X?