Rewrite rendering logic in fbosd gui.