fixed depth offset problem for intel graphics