Fixed bugs with THREE not loading on client