Added the production bar edge fixes

thanks to @MicroGraphics followup of #5107.