Only decompress attributes if they're used. Fix aligned axis encoding error when undefined.