libgui: don't use fences if using legacy display