Yes it can be corrected.
It is only a couple of lines of C code that need to be inserted in the atmega bootloader code.
(I fixed it for my mega328 AVRs)
There are also a couple of other lines that need to be changed to allow the atmega bootloader code
to compile with the latest gcc tools.
optiboot doesn't work on the 1280/2560 chips.
Do you have a method to burn a new bootloader in your boards?
--- bill