gui initial rendering fix