fixed double gui rendering