workaround for rounding error in E,B shader