gui: work around scaling bug