Default Help...Ghost touches in some ROMS.

Hi guys, I need help with a little annoying problem.
I've wait, read, and tried enough before posting here.

I've been having those "ghost touches" and I think that it's not a hardware problem because it only happens in some ROMS (the majority) but Stock based and Dirty Unicorn (Maybe the only one besides stock). When enabling "show touches" I can see clearly those touches, they are all like random... in some of those I've some screen flickering too, very noticeable when using swiftkey.
I've tried wiping everything, flashing all the different kernels etc.
I don't know what else to do