Fixed client freezing issue.

It should be fixed now. I haven't ran into any issues caused by this fix.