fixed some deprecated gui render methods