Ah well it was worth a try. My firmware is 1.0.03.11140 which has a slightly different framework.odex
I used your script to pull it apart - There appears to be some difference between the invalidate functions when it has a parameter or not which may explain something.
It seemed your and my original smali files were the same for the ones you edited in android/view so I made the same changes and recompiled.
One thing before I upload and possibly brick my device though - Why is your framework.jar about 2MB when the originals are about 10k?