Fixed GUI lagging