If I don't touch anything for some time (less than 30 seconds) they stop working until I touch screen or hold them for 5-10 seconds.
Everything works perfectly when I flash stock rom again.
I tried to flash 4-file stock rom with "nand erase all" checked, and then flash custom roms again, but it didn't help.
I know at least one other device with the same problem, and the owner can't fix this too.
Any Ideas how to fix this?