g2: fix white lines caused by wrong display type
credits for the original fix: @savoca
thank him http://forum.xda-developers.com/showthread.php?t=2792844

Signed-off-by: bart452 <bart4524@gmail.com>