Trying to fix the issue with modified depth buffer when reading it