Improper resource URLs generated in Plone 5.0.5

Further investigations: the problem with the broken resource URLs disappears when I enable the dev mode for resource registries and starting the development mode for CSS for the plone-legacy bundle and saving afterwards...then the icons are loaded properly...disabling the dev mode again makes the problem again we have to blame the resource registries?