Use draw buffer dimensions instead of canvas dimensions when sizing framebuffer.