Work around Xlib caching of device metrics