Fix GUI lagging when client is syncing.