[osx] fixs #13907, fixes #13740 and tastes good too. VDA issues on intel/ati GPUs