production bar edge fixes by @MicroGraphics

followup of #5107
backported the edge fixes to XCF source files
Merge pull request #5154 from Mailaender/production-edge-fixes

Added the production bar edge fixes