This fixes issues with retina displays, where there are more opengl pixels than logical device pixels