Patch for depth write issue in sector view