You might want to consider going back to TW stock then see if this certain problem still happens. If it does show all those green lines and flickering on stock, then it's not CM12 and most definitely not Stock TW. Its your phone. Also, what firmware base are you using? Hope you don't mind me asking.