Move GetDpi implementation to RenderSurface