Fix for tensor3 getter and setter