openGL calls need manual translation from & to display's devicepixelratio (cherry picked from commit 301e27ce)