Based on your post, I guess you've already started progress on your ROM am I right? If so, and you want to keep your progress and at the same time fix the problem, follow this:
Test it. If it works, make a patch for it.
Backup your progressed ROM. Apply the patch. Make sure the patch overwrites the old bytes and offsets. Now test it.
Party non-stop. Hehehe... Hope it helps.