Fixed some texture stuff